<br class="clearfix">
<fieldset>
<legend>Students</legend>
<?if(!empty($studs)):?>
<table style="width:100%;">
	<thead>
		<tr>
			<td>Fullname</td>
			<td>Age</td>
			<td>Date Of Birth</td>
			<td>Gender</td>
			<td></td>
		</tr>
	</thead>
	<tbody>
		<?foreach($studs as $key=>$val):?>
			<tr>
				<td><?=$val->fullname;?></td>
				<td><?=$val->age;?></td>
				<td><?=$val->dob;?></td>
				<td><?=$val->gender;?></td>
				<td><a href="<?=site_url('profile/student/'.$val->eid);?>" class=" btn btn-mini" target="_blank">View Complete Profile</a></td>
			</tr>
		
		<?endforeach;?>
	</tbody>
</table>
<?else:?>
	<div class="alert-box">
		No students have been assigned to this section.
	</div>
<?endif;?>
</fieldset>

<fieldset>
<legend>Subject Schedule</legend>
<?if(!empty($sched)):?>
<table style="width:100%;">
	<thead>
		<tr>
			<td>Subject Code</td>
			<td>Subject Description</td>
			<td>Days</td>
			<td>Time From</td>
			<td>Time to</td>
			<td>Teacher</td>
		</tr>
	</thead>
	<tbody>
		<?foreach($sched as $key=>$val):?>
			<tr>
				<td><?=$val->subj_code;?></td>
				<td><?=$val->subj_desc;?></td>
				<td><?=$val->day;?></td>
				<td><?=$val->time_from;?></td>
				<td><?=$val->time_to;?></td>
				<td><?=$val->teacher;?></td>
			</tr>
		<?endforeach;?>
	</tbody>
</table>
<?else:?>
	<div class="alert-box">
		No subjects was assigned to this section.
	</div>
<?endif;?>
</fieldset>